<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>管理员登录页面</title>
  </head>
  
  <body>
  <h1>管理员登录:</h1>
  <hr/>
  <p style="font-weight: 900; color: red">${loginError}</p>
    <div style="margin: auto;text-align: center;
    background-color: cornflowerblue;border:1px solid darkblue;width:50%">
        <h1>管理员登录页面</h1>
            <form action="http://localhost:8080/${pageContext.request.contextPath}/admin/AdminLoginController" method="post">
                管理员账户：<input type="text" name="username" value="${cookie.loginName.value}" /><br/>
                密　　　码：<input type="password" name="password"/><br/>
                <input type="submit" value="进入后台" style="background-color:darkkhaki;width: 260px;height:30px;border-radius: 10px;margin: 10px"/>
            </form>
    </div>
  </body>
</html>
